CREATE OR REPLACE PACKAGE "kesplus_platform"."kes_plus_pkg_market" AUTHID CURRENT_USER AS
	function add(jsonData text) return json;
	function get(id varchar) return json;
	procedure delete(ids varchar);
	function page(jsonData text) return json;
	procedure deleteByObjId(objId varchar,_version varchar,appId varchar);
	procedure publishApp(appId varchar,status int);
	function checkCount(objId varchar,_version varchar) return int;
	function update(jsonData text) return json;
    function updateFileName(jsonData text) return json;
    TB_NAME VARCHAR := 'kes_market';
	PK_COLUMN_NAME VARCHAR := 'id';
end;

CREATE OR REPLACE PACKAGE BODY "kesplus_platform"."kes_plus_pkg_market" AS WRAPPED
BLqetG70QkMDfAQRlbna5hZ9YuOratyDFfHiWRoowOvoVBkSCm+4v2kN/9Vc
jsdRhwUJercxwXlH58yqWnPY4uSXjbGMTiU4NmgMU7QZUcmoNrCC1zFIZbuI
qjFfjY/UW2gVW8sOY4AJlEj3VL7aUkwZWQeglcpBR6k0Uf0D2V5KSLNSEp8U
UQK6ielDuToaLejh1lKJ1jz8R5WhsuIDowQ9b/OteHXNfA1cwHBbbwYv6X7n
Vq+WazDkaj9IpQGa60hCTrnyfEqMSdCxgCO9+AUonmSYiIxAKlD0kWyq85TK
9/LvLaOOWojmkrGQ1ZTOt5bpkHQqcTNB7JOCFgcAKO5Gty0yS6at3X3WxgiU
SV9faw59XdYfvPJ/NJ0D65869dsqrirX4a25iU/uR32+AzhCqm1aLB5KCH7l
bpqSIboYnLRYpd5Q16AEqSu1MFrQZXBuk7t6ODTeGV8rrRP5bW3bJMeanu1O
Pa2D5ugEzO+Gcg27TDPBXEQrMwvTlDkzvVc8IBBgk/9em87sP0WfYKaLl0Zs
XmVPbEnZVsdknx1ymG6Nhl24EVy8g7Lx+zb+p1erUFmed5WzafXtdhcCnmzp
UPWJGryQzUJitIXrfGXCpXN7jobLNNOJe4fCNB8GSf8dqymjA9znTekuDG80
A8OJJ7e1SRgEC3oBSTO1SWrD31PNtESWdn+UMRFMfSQVJl5NSaMCv4M6g60a
tLCWKiEWP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